package uidemo.test;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class Demo1 {
	@RequestMapping(value = "/helloworld")
	public String demo1(Model model) {

		System.out.println("荔湾很和谐");

		model.addAttribute("hello", "world");

		return "demo1";
	}
}
